<script>	import useUser from '@/pinia/user.js'
	export default {
		onLaunch: function() {
			// #ifdef APP-NVUE
			const domModule = weex.requireModule('dom')
			domModule.addRule('fontFace', {
			    'fontFamily': "iconfont",
			    'src': "url('https://at.alicdn.com/t/c/font_4519631_uhpnwiqj1j.ttf')"
			});
			// #endif			// 从缓存中读取信息			const userStore = useUser()			userStore.readUserinfo()
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() { 
			console.log('App Hide')
		}
	} 
</script>

<style>
	/*每个页面公共css */
	@import url("https://at.alicdn.com/t/c/font_4519631_eso1odekf6g.css");
	@import url("common/style/common.css");
</style>